﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SM2ObjectRunner;

namespace SM2SetupSearch
{
    public class SM2 : IObject
    {
        public void run(string strSelectedAction)
        {
            switch (strSelectedAction)
            {
                case "AddQuickSearch":
                    SetupSearch.AddQuickSearch();
                    break;

                case "EditSearch":
                    SetupSearch.EditSearch();
                    break;

                case "DeleteSearch":
                    SetupSearch.DeleteSearch();
                    break;

                case "SetEnableSearch":
                    SetupSearch.SetEnableSearch();
                    break;

                case "SetDisableSearch":
                    SetupSearch.SetDisableSearch();
                    break;

                case "GlobalExcludes":
                    SetupSearch.GlobalExcludes();
                    break;

                case "RunHistorical":
                    SetupSearch.RunHistorical();
                    break;

                case "NewSearchManualEntry":
                    SetupSearch.NewSearchManualEntry();
                    break;

                case "NewSearchQueryBuilder":
                    SetupSearch.NewSearchQueryBuilder();
                    break;

                case "NewSearchBulkUpload":
                    SetupSearch.NewSearchBulkUpload();
                    break;

                default:
                    break;
            }

        }
    }
}
